package com.learn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * 自定义健康状态检查：
 * 实现org.springframework.boot.actuate.health.HealthIndicator接口，并纳入到spring容器中
 * @author Romanceling
 *
 */
@SpringBootApplication
public class App {
    public static void main( String[] args ){
        ConfigurableApplicationContext context = SpringApplication.run(App.class, args);
        System.out.println(context);
    }
}
